package com.ds.lens.data.common.constant;

/**
 * @author ethan
 */
public enum TypeEnum {
    CLIENT,
    SERVER;

    public static boolean isClient(TypeEnum type){
        if(type != null && type == CLIENT){
            return true;
        }
        return false;
    }

    public static boolean isServer(TypeEnum type){
        if(type != null && type == SERVER){
            return true;
        }
        return false;
    }

}
